package com.woniu.staff.cliententity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("登录返回对象")
public class AccountDto {
    /*
     * 管理员账号表
     */
    @ApiModelProperty(name = "accountId",value = "账号id")
    @TableId(value = "account_id", type = IdType.AUTO)
    private Integer accountId;

    /*
     * 密码
     */
    @ApiModelProperty(name = "accountPass",value = "密码")
    @TableField("account_pass")
    private String accountPass;

    /*
     * 账号
     */
    @ApiModelProperty(name = "accountPhone",value = "账号")
    @TableField("account_phone")
    private String accountPhone;

    /*
     * 状态 0 可用 1 删除 2 禁用
     */
    @ApiModelProperty(name = "accountState",value = "状态 0 可用 1 删除 2 禁用")
    @TableField("account_state")
    private Integer accountState;
}
